import {connect} from 'react-redux'
const _connect = (UiComponent,reducers = []) => {
    
    let mapStateToProps = (state) => {
        let result = {
            idents:state.ident.split(',')
        }
        return result
    }
    
    let mapDispatchToProps = (dispatch) => {
        let result = {}
     
        return result
    }

    return connect(mapStateToProps,mapDispatchToProps)(UiComponent)
}

export default _connect
